package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生产任务-物料对象 mes_task_items
 * 
 * @author ruoyi
 * @date 2021-10-27
 */
public class MesTaskItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String processExecItemUuid;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private String orderNum;

    /** 物料表ID（外键） */
    @Excel(name = "物料表ID", readConverterExp = "外=键")
    private String fkItemUuid;

    @Excel(name = "物料名称")
    private String itemName;

    @Excel(name = "物料编码")
    private String itemNum;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal itemQty;

    /** 备件数量 */
    @Excel(name = "备件数量")
    private BigDecimal itemBakQty;

    /** 状态（字典表） */
    @Excel(name = "状态", readConverterExp = "字=典表")
    private String sysNormalDisable;

    /** 备注 */
    @Excel(name = "备注")
    private String docNote;

    private String fkProcessExecUuid;

    private String itemSpecification;

    public String getItemSpecification() {
        return itemSpecification;
    }

    public void setItemSpecification(String itemSpecification) {
        this.itemSpecification = itemSpecification;
    }

    public String getFkProcessExecUuid() {
        return fkProcessExecUuid;
    }

    public void setFkProcessExecUuid(String fkProcessExecUuid) {
        this.fkProcessExecUuid = fkProcessExecUuid;
    }

    public String getProcessExecItemUuid() {
        return processExecItemUuid;
    }

    public void setProcessExecItemUuid(String processExecItemUuid) {
        this.processExecItemUuid = processExecItemUuid;
    }

    public void setOrderNum(String orderNum)
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setFkItemUuid(String fkItemUuid) 
    {
        this.fkItemUuid = fkItemUuid;
    }

    public String getFkItemUuid() 
    {
        return fkItemUuid;
    }
    public void setItemQty(BigDecimal itemQty) 
    {
        this.itemQty = itemQty;
    }

    public BigDecimal getItemQty() 
    {
        return itemQty;
    }
    public void setItemBakQty(BigDecimal itemBakQty) 
    {
        this.itemBakQty = itemBakQty;
    }

    public BigDecimal getItemBakQty() 
    {
        return itemBakQty;
    }
    public void setSysNormalDisable(String sysNormalDisable) 
    {
        this.sysNormalDisable = sysNormalDisable;
    }

    public String getSysNormalDisable() 
    {
        return sysNormalDisable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderNum", getOrderNum())
            .append("fkItemUuid", getFkItemUuid())
            .append("itemQty", getItemQty())
            .append("itemBakQty", getItemBakQty())
            .append("sysNormalDisable", getSysNormalDisable())
            .append("docNote", getDocNote())
            .toString();
    }
}
